home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / lfcrlf11.zip / LF-CRLF.DOC < prev    next >
Text File  |  1992-01-07  |  6KB  |  143 lines

  1. 40 Chars description: "Fast & safe DOS<->UNIX text translation"
  2. 46 Chars description: "Fast & safe DOS<->UNIX text files translation"
  3.  
  4. LF & CRLF - The ultimate UNIX to DOS and UNIX to DOS translators.
  5.  
  6. If  you constantly  transfer text  and binary  files between  UNIX and  DOS
  7. platforms,  using Kermit  or any   other file  transfer program  then these
  8. utilities are for you.
  9.  
  10. You  can set  your file  transfer program  to use  always use the (slightly
  11. faster) binary  mode for file transfer.  Once the files are  on the PC, you
  12. can translate  the files from the  UNIX text format to  the DOS text format
  13. using CRLF.  Before you transfer the  files to UNIX you  can translate your
  14. text  files to  UNIX format  using  LF.  Registration will  buy you  a UNIX
  15. version of CRLF and LF. With this version you can do text file translations
  16. on UNIX too.
  17.  
  18. Highlights:
  19. ------------
  20.  
  21. * Quick: just a few seconds to process the 0.5MB simtel20 list.
  22.  
  23. * Convenient: will process files "in place". You don't have to worry
  24.   about temporary file names.
  25.  
  26. * Power-fail resilient: until processing is finished, there is always
  27.   an on disk copy of the file currently being processed.
  28.  
  29. * Smart: Will not damage binary files. (Text and Binary file extensions
  30.   are set by in the environment).
  31.  
  32. * Safe: will not process files of unknown type without asking.
  33.  
  34. * Small: each utility is less than 10K on disk.
  35.  
  36. * Time accurate: Preserve files time and date.
  37.  
  38. * Self documenting: run with the -? flag to get online documentation.
  39.  
  40. * Versatile: many modes of operations including filter mode. (Run with the
  41.   '-?' flag to see them all).
  42.  
  43. * Robust: tested extensively on large and small files. Operated flawlessly
  44.   for over a year on the author's machines.
  45.  
  46. * Free (but copyrighted) to private users. However, if you are a company or
  47.   make money from selling software or distributing shareware, you are 
  48.   required to register.
  49.  
  50.  
  51.  
  52. Author address:
  53. ---------------
  54. Yossi Gil, P.O. Box 3148, Jerusalem, Israel.
  55. Internet e-mail address: yogi@cs.ubc.ca
  56.  
  57.  
  58. COPYING POLICY
  59. --------------
  60. The  following  policy  is  intended   to  promote  free  private  use  and
  61. distribution, and to collect money from those who can. In particular, these
  62. institutions  which make  money exploiting  private users,  are required to
  63. pass on part of their income to whoever is responsible for generating it.
  64.  
  65. PRIVATE USERS.  You are free to  use, copy and distribute  this package for
  66. noncommercial private use provided that:
  67.  
  68.    a) No fee is charged for use, copying or distribution.
  69.    b) It is not modified in any way.
  70.  
  71. If  you  find  this  package  useful,   easy,  and  convenient  to  use,  a
  72. registration of  15 US dollars  would be appreciated.  All registered users
  73. will receive the most recent version of this package + UNIX source code.
  74.  
  75. NON_PRIVATE  USE. Institutions  and  companies  MUST register  this package
  76. after an evaluation period of 21 days. Registration of one copy per company
  77. site is sufficient.
  78.  
  79. NON-PRIVATE DISTRIBUTION. Shareware distributor: If  you collect fee at any
  80. level for  distributing shareware disks you  must register before including
  81. this collections. Universities & Government Institutions: If you offer this
  82. package to  your users in the  form of diskette or  electronic library, you
  83. must register. Electronic collections: If your  main source of income is to
  84. collect fee for connection and download  time (i.e., COMPUSERVE like or any
  85. pay BBS) you must register before offering LF and CRLF in your collections.
  86. Registration will buy  you a copy licensed for  your distribution with your
  87. company name on it. Please indicate which string (up to 64 chars) should be
  88. used when registering.
  89.  
  90.  
  91. NON-FEE DISTRIBUTION: Simtel/ Garbo/  other FTP collections: Naturally, you
  92. may  store this  package and  offer it  package to  your users  free of any
  93. restrictions.
  94.  
  95.  
  96. DISCLAIMER
  97. -----------
  98. The author disclaims all warranties  as to this software, whether expressed
  99. or  implied,  including  without   limitation  any  implied  warranties  of
  100. merchantability, fitness  for a particular  purpose, functionality or  data
  101. integrity or protection.
  102.  
  103.  
  104.  
  105. What's in this archive?
  106. -----------------------
  107. LF.COM       Make lines end with LF (omit CR's and ^Z's). Version 1.01.
  108. CRLF.COM     Make each line end with a cr/lf sequence. Version 1.02.
  109. LF-CRLF.DOC  This file. Documentation for LF.COM & CRLF.COM
  110. _DESC.BTM    4DOS batch file. Will add 4DOS file description for above files.
  111.  
  112.  
  113. Copyright (c) 1991,1992 by Yossi Gil, P.O. Box 3148, Jerusalem, ISRAEL.
  114.  
  115.     Usage:     LF [flags] file[s] [[flags] file[s] ...]
  116.  
  117. or
  118.  
  119.     Usage:     CRLF [flags] file[s] [[flags] file[s] ...]
  120.  
  121. Will process the  given files (wild cards too).  To avoid corrupting binary
  122. files, LF  and CRLF will  not process files  whose extension occurs  in the
  123. environment variable BIN-EXT, and will  prompt the user before processing a
  124. file whose  extension does not  occur in the  environment variable TXT-EXT.
  125. Multiple extensions in these environment variables should be separated by a
  126. '#'  character. Empty  extension is  denoted by  two consecutive  '#'s. For
  127. example 'set BIN-EXT=arc#com#exe#lzh#'  and 'set TXT-EXT=doc##txt#c'. These
  128. settings are best done from AUTOEXEC.BAT.
  129.  
  130. Flags:
  131.   -c  Certain mode; Consider all files not known as text to be binary.
  132.   -f  Force mode; do not prompt before processing files of unknown type.
  133.   -t  Ignore the TXT-EXT environment setting.
  134.   -b  Ignore the BIN-EXT environment setting.
  135.   -s  Work silently; do not display log line for each processed file.
  136.   -n  Nothing mode; shows what would have happened if run without -n.
  137.   -l  Display licence info
  138.   -?  (or -h)  Display this message
  139.  
  140. Without any parameters CRLF and LF works as a filter, translating the
  141. standard input to the standard output.
  142. 
  143.